package net.bbtang.website.service.impl;


import java.util.List;
import java.util.Map;

import net.bbtang.website.mapper.ImageCarouselMapper;
import net.bbtang.website.pojo.CarouselImagesDTO;
import net.bbtang.website.pojo.MobileShowInfoDTO;
import net.bbtang.website.service.ImageCarouselService;

import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;




@Service("imageCarouselService")
public class ImageCarouselServiceImpl implements ImageCarouselService {
	
	private static final Logger logger = Logger.getLogger(ImageCarouselServiceImpl.class);
	
	@Autowired
	ImageCarouselMapper imageCarouselMapper;

	@Override
	public List<CarouselImagesDTO> getImageCarouselInfo(Map<String, Object> map) {
		List<CarouselImagesDTO> imageCarouselList = imageCarouselMapper.getImageCarouselInfo(map);
		
		return imageCarouselList;
	}

	@Override
	public List<MobileShowInfoDTO> getShowImageUrl() {
		return imageCarouselMapper.getShowImageUrl();
	}
	
	
	
	


}
